package com.yonyou.gmmc.service.information.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_BLACK_LIST")
public class TtBlackList {
    @Id
    @Column(name = "ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_BLACK_LIST")
    private BigDecimal id;

    @Column(name = "IP")
    private String ip;

    @Column(name = "IPTIME")
    private Date iptime;
    
    //构造器
    public TtBlackList() {
    }

    public TtBlackList(String ip, Date iptime) {
        this.ip = ip;
        this.iptime = iptime;
    }
    /**
     * @return ID
     */
    public BigDecimal getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(BigDecimal id) {
        this.id = id;
    }

    /**
     * @return IP
     */
    public String getIp() {
        return ip;
    }

    /**
     * @param ip
     */
    public void setIp(String ip) {
        this.ip = ip;
    }

    /**
     * @return IPTIME
     */
    public Date getIptime() {
        return iptime;
    }

    /**
     * @param iptime
     */
    public void setIptime(Date iptime) {
        this.iptime = iptime;
    }
}